package com.lyh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Route implements Serializable {

    private String viaId;//主键
    private String trainNum;
    private String from;
    private String to;
    private String startTime;
    private String endTime;
    private String duration;
    private String seats;

    private Train train;//记录列车座位的对象

    private List<Seat> seatsList;

}
